//
//  CZMenuButton.h
//  QQ空间
//
//  Created by zhangping on 16/1/19.
//  Copyright © 2016年 zhangping. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CZMenuItem;

@interface CZMenuButton : UIButton

+ (instancetype)buttonWithMenuItem:(CZMenuItem *)menuItem;
- (instancetype)initWithMenuItem:(CZMenuItem *)menuItem;

@property (nonatomic, strong) CZMenuItem *menuItem;

/// 根据横竖屏来设置菜单按钮的边距和标题
- (void)setupMenuButton:(BOOL) isLandscape;
@end
